<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		
		<title><? echo drizzo_site_name(); ?></title>
		
		<link rel="stylesheet" type="text/css" href="<? echo drizzo_theme("css"); ?>" />

	</head>
	
	<body>

		<div id="header">
			
			<h1><? echo drizzo_site_name(); ?></h1>
			
			<p class="description"><? echo drizzo_site_description(); ?></p>

		</div>
		
		<div id="main">
			
<?
		$the_posts = drizzo_get_the_posts($drizzo_limit, $drizzo_offset, "publish", "blog"); // Start the Loop
	
		foreach($the_posts as $the_post) {
?>
			<div class="post">
				<h2><a href="<? echo drizzo_post_permalink(); ?>"><? echo drizzo_post_title(); ?></a></h2>

				<p class="post_meta">By <? echo drizzo_post_author("nice_name"); ?> on <? echo drizzo_post_date(); ?></p>
				<p class="content"><? echo drizzo_post_excerpt(); ?></p>
				<p class="tag_meta"><strong>Tags:</strong> <? echo drizzo_post_tags(); ?> | <strong>Comments:</strong> <? echo drizzo_comment_count(); echo drizzo_edit_link(" | ", ""); ?></p>
			</div>
<?
		}
?>

			<br class="clear" />

		</div>
		
		<div id="sidebar">

			<h3>Recent Posts</h3>
			<? echo drizzo_recent_posts(); ?>

			<h3>Top Tags</h3>
			<? echo drizzo_tag_cloud(25); ?>
			
		</div>
		
		<div id="footer">
			
			<p>[ Drizzo <? echo drizzo_version_number(); ?> alpha ] [ Licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution Share-Alike License</a> ] [ Built by <a href="http://dryanmedia.com" title="dryan media">dryan media</a> ]</p>

		</div>
		
	</body>
	
</html>